<?php
namespace catchAdmin\product\model\search;

trait BrandSearch
{
    public function searchBrandNameAttr($query, $value, $data)
    {
        return $query->whereLike('brand_name', $value);
    }

}
